javascript refactoring Introduce Parameter Object - Refactoring skills(8) 8. Introduce Parameter Object(매개변수 객체 만들기) Replace groups of data items that regularly travel together with a single data structure (산재 되어있는 데이터 항목들을 하나의 데이터 객체로 구조화) Motivation Make explicit the relationship between the... refactoringjavascript refactoringjavascript refactoring Remove Inline Function - Refactoring skills(2) 2. Inline Function(함수 인라인 하기) Get rid of the function when the body of the code is just as clear as the name. 함수 본문이 이름만큼 명확한 경우, 함수를 제거하고 인라인하기. Motivation When Indirection is needless (simple delegation) becomes irrita... refactoringjavascript refactoringjavascript refactoring
Introduce Parameter Object - Refactoring skills(8) 8. Introduce Parameter Object(매개변수 객체 만들기) Replace groups of data items that regularly travel together with a single data structure (산재 되어있는 데이터 항목들을 하나의 데이터 객체로 구조화) Motivation Make explicit the relationship between the... refactoringjavascript refactoringjavascript refactoring Remove Inline Function - Refactoring skills(2) 2. Inline Function(함수 인라인 하기) Get rid of the function when the body of the code is just as clear as the name. 함수 본문이 이름만큼 명확한 경우, 함수를 제거하고 인라인하기. Motivation When Indirection is needless (simple delegation) becomes irrita... refactoringjavascript refactoringjavascript refactoring